package com.xdf.ecommerce.feign;

import com.xdf.ecommerce.account.AddressInfo;
import com.xdf.ecommerce.vo.CommonResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author chanchaw
 * @create 2025-11-12 7:52
 */
@FeignClient(contextId = "AddressClient", value = "e-commerce-account-service")
public interface AddressClient {
    @PostMapping("/ecommerce-account-service/address/addressInfo")
    CommonResponse<AddressInfo> getCurrentAddressInfo();
}
